package com.wtg.client.control;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.wtg.client.config.PeosonConfig;

@RestController
public class HelloControl {
	
	@Autowired
	private PeosonConfig config;

	@RequestMapping("helloSpringConfig")
	private String HelloSpringConfig() {
		return config.getName();
	}

}
